﻿<div class="p10 col-xs-12"  ng-controller="settingDetailCtrl">
    <div class="col-xs-12 BGFFF p20 r5">
        <div class="col-xs-6 f16 fb p0 mb5">系统设置【颜色】</div>
        <div class="col-xs-6 f14 p0 mb5 tr">
            <a type="button" class="btn btn-adorn btn-sm" onclick="history.back(-1);"> <i class="iconfont fb">&#xe697;&nbsp;</i>后退</a>
        </div>
        <div class="col-xs-12 p0 pt10 bt1">
            <form ng-submit="submitForm('admin/setting/addOrUpdate.do')">
                <table class="table table-bordered">
                    <tr>
                        <td class="tc w80">key</td>
                        <td class="tc w200">
                            <input class="form-control" type="text" ng-model="model.key" required
                                   ng-if="model.id==null">
                            <input class="form-control cursor-not" type="text" ng-model="model.key" readonly
                                   ng-if="model.id!=null">
                        </td>
                    </tr>
                    <tr>
                        <td class="tc">颜色</td>
                        <td class="tc">
                            <div class="form-group col-xs-6 p0">
                                <div class="input-group">
                                    <div class="input-group-addon">颜色</div>
                                    <input class="form-control" type="text" required ng-model="model.value">
                                </div>
                            </div>
                            <div class="col-xs-6 p0 pl20">
                                <input class="form-control" type="color" required ng-model="model.value">
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td class="tc">类型</td>
                        <td class="tc">
                            <input class="form-control cursor-not" id="typeName" type="text" ng-model="model.typeName"
                                   placeholder="点击输入框选择类型" readonly>
                        </td>
                    </tr>
                    <tr>
                        <td class="tc">备注</td>
                        <td class="tc"><textarea class="form-control no-resize"
                                                 ng-model="model.remark" rows="6" placeholder="备注信息"></textarea></td>
                    </tr>
                    <tr>
                        <td class="tc">排序</td>
                        <td class="tc">
                            <input class="form-control" min="0" required type="number" ng-model="model.sequence"></td>
                    </tr>
                </table>
                <button type="submit" class="btn btn-success fr">提交</button>
            </form>

        </div>
    </div>
</div>
<div class="cb"></div>

